package nciae.db.service;

import nciae.db.common.CommonResult;
import nciae.db.entity.Device;
import nciae.db.entity.User;

public interface DeviceService {
    CommonResult add(Device device);

    CommonResult edit(Device device);

    CommonResult list(String name);

    CommonResult listByPage(String name, Integer page, Integer size);

    Device getDeviceById(Integer id);

    CommonResult del(Integer id);
}
